package dao;

import java.util.List;

import bean.Employee;
import bean.Meeting;



public interface MeetingDAO {
	public void save(Meeting meeting);

	public void update(Meeting meeting);

	public void delete(int mid);

	public List<Meeting> findAll();

	public List<Meeting> findByProperty(String propertyName, Object value);

	public Meeting getMeetingBymid(int mid);
	
	public Meeting getMeetingBytopic(String topic);
	
	public List<Meeting> getMeetingBydepName(String depName);

	/**
	 * ���HQL��佫��ѯ����ҳ��ʾ
	 * 
	 * @param pageIndex
	 * @param pageSize
	 * @param hql
	 * @return
	 */
	public List<Meeting> findByPage(Integer pageIndex, Integer pageSize,
			String hql);
	
//	public List<Meeting> getMeetingByparticipants(String participants);	
//	public List<Meeting> getMeetingBytype(String type);
//	public List<Meeting> getMeetingBymeetingState(String meetingState);

}
